package com.gurun.camera.utils;


import android.content.Context;

import com.danale.sdk.Danale;
import com.danale.sdk.SdkBuilder;
import com.danale.sdk.platform.constant.base.ApiType;
import com.danale.sdk.utils.MetaDataUtil;

/**
 * Created by harry on 2018/5/9.
 */
public class CameraManager {


    public static void initCameraSdk(Context context) {
        SdkBuilder builder = SdkBuilder.build(context);
        builder.enterpriseCode(MetaDataUtil.getCoreCode(context));
        builder.clientId(MetaDataUtil.getClientId(context));
        builder.apiType(ApiType.getApiType(MetaDataUtil.getApiType(context)));
        Danale.get().install(builder);
    }

}
